package com.tian.controller;

import com.tian.LogSender;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-11-25 20:22
 * {@code @version:} 1.0
 */
@RestController
public class TestController {
    @Resource
    private LogSender logSender;

    @GetMapping("/test")
    public String test() {
        logSender.sendLog("测试", "INFO", "让开 田哥来了！！！");
        return "test";
    }
}
